home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group98b.txt
/
000176_icon-group-sender _Mon Aug 31 12:22:17 1998.msg
< prev
next >
Wrap
Internet Message Format
|
2000-09-20
|
2KB
Return-Path: <icon-group-sender>
Received: from kingfisher.CS.Arizona.EDU (kingfisher.CS.Arizona.EDU [192.12.69.239])
by baskerville.CS.Arizona.EDU (8.9.1a/8.9.1) with SMTP id MAA08631
for <icon-group-addresses@baskerville.CS.Arizona.EDU>; Mon, 31 Aug 1998 12:22:16 -0700 (MST)
Received: by kingfisher.CS.Arizona.EDU (5.65v4.0/1.1.8.2/08Nov94-0446PM)
id AA21841; Mon, 31 Aug 1998 12:21:52 -0700
Date: Mon, 31 Aug 1998 09:54:27 -0700
From: swampler@noao.edu (Steve Wampler)
Subject: Re: Integers in Posix-compliant icon
To: bezeau@unb.ca
Cc: icon-group@optima.CS.Arizona.EDU
Message-Id: <swampler-9807311654.AA001317106@orpheus.gemini.edu>
In-Reply-To: <Pine.SOL.3.96.980830144657.1473A-100000@sol.sun.csd.unb.ca>
Errors-To: icon-group-errors@optima.CS.Arizona.EDU
Status: RO
Content-Length: 706
Larry - Icon accepts integers expressed in 'radix' notation. For example,
integers represented in binary are 2r1010, 2r111, etc. Icon handles
any base up to base 36, so 23rd is the base 23 number 'd'. 3rd is
not an integer because 'd' is not a legal digit in base 3. Note
that hexidecimal numbers are represented as 16rFF, 16r1af9, etc.
In general the digits allowed in integers in base N are the first
N characters of the string "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"
(ok, so upper- or lowercase letters work...).
--
Steve Wampler - swampler@gemini.edu [Gemini 8m Telescopes Project (under AURA)]
The gods that smiled at your birth are now laughing openly. (Fortune Cookie)